strange but true, it works for one player, doesnt add buttons, and its all done right
if (Players[GetPlyIdx(MCI.Info[i].PLID)].PlayerName.Contains("Officer"))
{
byte ButtonID = 2; // Replace 5 with whatever you want the ID of the first button to be...
byte ButtonX = 20; // Or whatever you want the first button to be...
{
InSim.Send_BTN_CreateButton("" + Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[1].PLID)].UniqueID)].PlayerName + " ^7speed : ^3" + (MCI.Info[i].Speed / 91), Flags.ButtonStyles.ISB_DARK, 6, 30, 163, 5, 200, Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].UniqueID, 2, false);
ButtonID++;
ButtonX += 6; //Replace 6 with the height of each button + 1
InSim.Send_BTN_CreateButton("" + Connections.Count, Flags.ButtonStyles.ISB_DARK, 6, 20, 100, 5, 120, Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].UniqueID, 2, false);
}